package fr.umlv.jee.jawp.persistence.dao;

import java.util.List;

import org.springframework.ldap.core.LdapTemplate;

import fr.umlv.jee.jawp.persistence.object.Person;

public interface IPersonDAO {

	public abstract void setLdapTemplate(LdapTemplate ldapTemplate);

	public abstract void create(Person person);

	public abstract void update(Person person);

	public abstract void delete(Person person);

	public abstract Person findByPrimaryKeyMail(String user_id);

	public abstract List<?> findAll();

	public abstract List<?> findByName(String name);

	public abstract List<?> findByGroup(String group);
	
	public abstract List<?> findAGroup(String group);

}